ErrorType

Enum representing the types of errors that can occur when loading or displaying a Moloco ad.

Link to the document describing the error codes: https://www.notion.so/moloco/Tech-Design-MAX-Mediation-Integration-Proposal-bf75f57e20274941aae96cd3aff9e07f#f6797faafcfd45cc96fe6d435aa03f25

Entries

Link copied to clipboard

Generic failure error code. Error code "-1"

Link copied to clipboard

SDK initialization error. Error code "1000"

WorkManager crash that prevents us from creating a persistent http request client. Error code "1001"

Link copied to clipboard

Ad object cannot be created, due to invalid configuration. Error code "1002"

Link copied to clipboard

Ad is not loaded. Error code "2000"

Link copied to clipboard

Ad load failed because SDK was not initialized. Error code "2001"

Link copied to clipboard

Ad failed to load because the request timed out. Error code "2003"

Link copied to clipboard

Ad load limit reached. Error code "2004"

Link copied to clipboard

Ad failed to load because bid request failed or no fill. Error code "2005"

Link copied to clipboard

Ad show failed despite a successful ad load. Internal renderer error. Error code "3000"

Link copied to clipboard

Ad show failed because ad load was not called. Error code "3001"

Link copied to clipboard

Ad show failed because show() was invoked multiple times when ad was already rendering. Error code "3002"

Link copied to clipboard

The bid response received was not parseable by the SDK. Error code "4000"

Link copied to clipboard

The bid token couldn’t be retrieved. Error code "5000"

Properties

Link copied to clipboard
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.